@import 'https://at.alicdn.com/t/font_2273296_r43v769i62g.css';

/**
* 定义标准盒模型
*/
html, body, article, hgroup, figure, main, section, header, footer, aside, nav, video, audio, canvas, details, h1, h2, h3, h4, h5, h6, div, p, dl, dd, ul, li, ol, label, form, input, img, textarea, th, tr, td, button, select, a, span, em, i, sub, sup, pre, code, table {
    box-sizing:border-box;
}

/**
* 设置字体、行高、颜色等属性
*/
body {
    margin:0;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.4;
    color: #666;
}

h1, h2, h3, h4, h5, h6,
ul, li, ol, dl, dt, dd,
figure, p {
    padding: 0;
    margin: 0;
    font-weight: normal;
    word-wrap: break-word;
}

/**
* 超链接颜色
*/

a {color: #438bff;
    display: inline-block;
    text-decoration: none;
    font-size: inherit;
    cursor: pointer;
    outline: none;
}

ul{list-style: none;
    padding-inline-start:0;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button{
    -webkit-appearance: none !important;
}
input[type="number"]{-moz-appearance:textfield;}
input{outline: 0;
    color: #666;
    border: 1px solid #e0e0e0;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* 页面样式 */
.mb10{margin-bottom: 10px;}
.mt10{margin-top: 10px;}
.mt15{margin-top: 15px;}
.pos-relative{position:relative;}
.hidden{display:none;}

.el-container{
    height: 100vh;
    position: relative;
    border-left: 1px solid #e0e0e0;
}
#fullLoading{
    position: fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    z-index:100;
    background: rgba(255,255,255,.9);
}
.el-loading-spinner{
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    margin-top: calc(-40px);
}
@keyframes rotating {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(360deg);}
}
.el-loading-spinner .icon-loading{
    display: inline-block;
    animation: rotating 2s linear infinite;
    color: #0d6efd;
}
.layout-searcher{
    padding: 20px 0;
}
.layout-graph{
    position: relative;
    height:calc(100vh - 65px);
    border-top: 1px solid #e0e0e0;
    overflow: hidden;
    width: 100%;
}
.form-label{
    line-height: 30px;
    margin:0 10px 0 24px;
}
.form-item.inline{
    display: inline-block;
    vertical-align: top;
}
.form-item .switch-btn{
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 44px;
    height: 22px;
    line-height: 20px;
    border-radius: 20px;
    border: 1px solid #ccc;
    transition: background .3s cubic-bezier(.78, .14, .15, .86);
    user-select: none;
    background: #ccc;
    cursor: pointer;
}
.form-item .switch-btn.switch-checked{
    border: 1px solid #0d6efd;
    background: #0d6efd;
}
.switch-btn .switch-inner{
    position: absolute;
    content: " ";
    width: 18px;
    height: 18px;
    top: 1px;
    left: 2px;
    transition: left .3s cubic-bezier(.78, .14, .15, .86);
    border-radius: 100%;
    background: #fff;
    cursor: pointer;
}
.switch-btn.switch-checked .switch-inner{left: 22px;}
.skill-searcher{
    position: relative;
    display: inline-block;
    vertical-align: top;
    z-index: 10;
}
.skill-searcher .icon-arrow-bottom{
    position: absolute;
    right: 10px;
    top: 4px;
}
.admin-btns{display: none;}
.admin-btns.inline{display: inline-block;}
#skill_input{
    padding:4px 10px;
    height: 30px;
    line-height:30px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
    width: 300px;
}
#input_clear{
    position: absolute;
    right: 10px;
    top: 4px;
    font-size:16px;
    cursor: pointer;
}
#input_clear:hover{color: #f85564;}
#skill-tree{
    position: absolute;
    top: 30px;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0;
    color: #333;
}
#skill-tree .tree-leaf-ul{
    padding:5px;
    min-width:100px;
    background: #fff;
    border: 1px solid #ddd;
    display:inline-block;
    vertical-align: top;
    font-size: 12px;
}
#skill-tree .tree-leaf-ul.hidden{display:none;}
#skill-tree li{
    cursor: pointer;
    padding:3px 24px 3px 6px;
    height:30px;
    line-height:22px;
    border: 1px solid #fff;
    position:relative;
}
#skill-tree li .icon-arrow-right{
    position:absolute;
    top: 3px;
    right:6px;
    font-size: 12px;
    display:none;
}
#skill-tree li.selected{
    border-color: #438bff;
    background: #ebf7fe;
}
#skill-tree li:hover{
    background: #ebf7fe;
}
#skill-tree li.selected .icon-arrow-right,
#skill-tree li:hover .icon-arrow-right{
    display: block;
}
.form-check-group{
    display: inline-block;
    vertical-align: top;
    line-height:30px;
}
.form-check-group .form-check {
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;
}
.form-check-group .form-check-input{
    cursor: pointer;
    margin: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #fff;
    -webkit-print-color-adjust: exact;
    border: 1px solid rgba(0,0,0,.25);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position:relative;
    top:3px;
}
.form-check-group .form-check-input:checked{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
    background-color: #0d6efd;
    border-color: #0d6efd;
}
.form-check-group .form-check-label{
    cursor: pointer;
}
#graph-container{
    position: relative;
    height: 100%;
}
#graph-container .g6-component-toolbar{
    left: auto;
    bottom: auto;
    top: 20px;
    right:20px;
    width: 30px;
}
#graph-container .g6-component-toolbar .iconfont{
    cursor: pointer;
    padding-top: 5px;
    width: auto;
    height: auto;
}
#graph-container .icon-why{
    margin-top: 5px;
    border-top: 1px solid #e0e0e0;
}
#graph-container .g6-component-toolbar .iconfont:first-child{border:0;margin-top:0;padding-top:0;}
#graph-container .g6-component-toolbar .iconfont::before{display:block;}
#graph-container .g6-component-toolbar .iconfont:hover::before{
    transform: scale(1.2);
    color: #438bff;
}
#graph-container .g6-minimap{
    position: absolute;
    right: 0;
    bottom:0;
    z-index:20;
    background:#fff;
    border: 1px solid #e0e0e0;
}

.dialog{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background:rgba(0, 0, 0, 0.3);
    display: none;
}
.dialog-container{
    position:fixed;
    top:50%;
    left:50%;
    width: 500px;
    transform: translate(-50%, -50%);
    border:1px solid #e0e0e0;
    border-radius: 5px;
    background:#fff;
    padding: 20px;
}
.dialog-container .icon-failed{
    position:absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 20px;
    color: #f85564;
}
.g6-component-tooltip{
    padding: 15px !important;
    min-width: 200px;
}
.g6-component-tooltip:hover{
    display: block !important;
    visibility: visible !important;
}
.progress-circle-inner{
    width: 100px;
    height: 100px;
    margin: 10px;
    position: relative;
}
.progress-circle-text{
    position: absolute;
    width: 100%;
    left: 0;
    top: 50%;
    line-height: 1;
    transform: translateY(-50%);
    text-align: center;
    font-size: 24px;
}
.g6-component-tooltip .tooltip-title{
    font-size: 16px;
}
.g6-component-tooltip .go-test{
    color: #438bff;
    display: inline-block;
    margin:0 4px;
}
.g6-component-tooltip .icon-new-tab{
    position: relative;
    font-size: 12px;
    left: -2px;
    bottom:-1px;
}
.g6-component-tooltip .QR-code{
    width: 250px;
    height: 250px;
    border-radius: 5px;
}
.g6-component-contextmenu{padding:6px 0 !important;}
.g6-component-contextmenu .menu-item{
    padding:2px 10px;
    font-size: 12px;
    cursor: pointer;
}
.g6-component-contextmenu .menu-item:hover{
    background: #e8f1ff;
}
#form-params{
    position: absolute;
    right:0;
    top: 0;
    width: 301px;
    height:100%;
    z-index:10;
    border-left: 1px solid #e0e0e0;
    transform: translateX(100%);
    transition: transform .3s;
    background:#fff;
    padding:10px;
}
#form-params.show{transform: translateX(0);}
#form-params .form-item{
    display: flex;
    margin-bottom: 10px;
}
#form-params .form-label{
    margin-left: 0;
    min-width: 80px;
}
#form-params .form-input{
    height: 28px;
    line-height: 28px;
    border-radius: 6px;
    padding: 0 10px;
}
.form-btn{
    color: #666;
    background: #f4f4f4;
    border:1px solid #d9d9d9;
    white-space: nowrap;
    padding: 4px 15px;
    font-size: 12px;
    border-radius: 6px;
    margin-left: 10px;
    cursor: pointer;
}
.form-btn:hover{background: #e6e4e4;}
.form-btn.btn-primary{
    color: #fff;
    background: #0d6efd;
    border-color: #0d6efd;
}
.form-btn.btn-primary:hover{background: #005ce4;}
#new-node-input{
    position: fixed;
    top: 0;
    left:0;
    z-index:100;
    padding:4px 10px;
    display: none;
}
